package vip.xiaonuo.modular.databaseinfo.service.impl;

import vip.xiaonuo.modular.tablefield.service.TableFieldService;
import vip.xiaonuo.modular.tableinfo.service.TableInfoService;

public class BiDataSource {
    public DatasourceType datasourceType;
    public String url;
    public String username;
    public String password;
    public String dbName;
    public String jdbcDriverVersion;
    public Long databaseId;
    public TableFieldService TableFieldService;
    public TableInfoService TableInfoService;

    public BiDataSource() {
    }
    public BiDataSource(DatasourceType datasourceType, String url, String username, String password ,String dbName ,String jdbcDriverVersion ,Long databaseId){
        this.datasourceType = datasourceType;
        this.url = url;
        this.username = username;
        this.password = password;
        this.dbName = dbName;
        this.jdbcDriverVersion = jdbcDriverVersion;
        this.databaseId = databaseId;
    }
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public DatasourceType getDatasourceType() {
        return datasourceType;
    }

    public void setDatasourceType(DatasourceType datasourceType) {
        this.datasourceType = datasourceType;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getJdbcDriverVersion() {
        return jdbcDriverVersion;
    }

    public void setJdbcDriverVersion(String jdbcDriverVersion) {
        this.jdbcDriverVersion = jdbcDriverVersion;
    }

    public Long getDatabaseId() {
        return databaseId;
    }

    public void setDatabaseId(Long databaseId) {
        this.databaseId = databaseId;
    }
}
